<div class="bangumi-item">
    <div class="bangumi-picture"><img src="<%= lazyload ? (loading || "https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.2.0/lib/img/loading.gif") : (srcValue === '__loading__' ? (loading || "https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.2.0/lib/img/loading.gif") : `https:${item.cover.replace(/^https:/, '')}`) %>" <%- lazyload ? ` data-src="${item.cover}"` : (lazyloadAttrName ? ` ${lazyloadAttrName.split('=')[0]}="${lazyloadAttrName.split('=')[1] === '__loading__' ? (loading || "https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.2.0/lib/img/loading.gif") : (lazyloadAttrName.split('=')[1] === '__image__' ? `https:${item.cover.replace(/^https:/, '')}` : (lazyloadAttrName.split('=')[1] || ''))}"` : "") %> referrerPolicy="no-referrer" width="110" style="width:110px;margin:20px auto;" />
    </div>
    <div class="bangumi-info">
        <div class="bangumi-title">
            <a target="_blank" href="https://bangumi.tv/subject/<%= item.id %>"><%= item.title || __('unknown') %></a>
        </div>
        <div class="bangumi-meta">
            <span class="bangumi-info-items" <%- metaColor ? `style="color:${metaColor};"` : ''  %>>
                <% if(item.totalCount && item.type !=='游戏'){ %>
                    <span class="bangumi-info-item">
                        <span class="bangumi-info-total"><%= item.totalCount ? `全${item.totalCount}话` : '-' %></span><em
                                class="bangumi-info-label-em">0</em>
                        </span>
                <% } %>
                <span class="bangumi-info-item bangumi-type">
                    <span class="bangumi-info-label"><%= __('type') %></span> <em><%= item.type %></em>
                </span>
                <span class="bangumi-info-item bangumi-tag">
                    <span class="bangumi-info-label"><%= __('tag') %></span> <em><%= item.tags %></em>
                </span>
                <span class="bangumi-info-item bangumi-info-item-follow">
                    <span class="bangumi-info-label"><%= __('follow') %></span> <em>
                        <%= item.collect || "-" %>
                    </em>
                </span>
                <span class="bangumi-info-item bangumi-info-item-score">
                    <span class="bangumi-info-label"><%= __('score') %></span>
                    <em><%= item.score || "-" %></em>
                </span>
            </span>
        </div>
        <% if(item.type !=='游戏' ){ %>
        <div class="bangumi-progress" style="margin-top:5px;">
            <div class="bangumi-progress-text">追番进度：<%= item.ep_status %>/<%= item.totalCount %></div>
            <div class="progress-bar" style="width: <%= item.progress > 100 ? 100 : item.progress %>%;"></div>
        </div>
        <% } %>
        <div class="bangumi-comments" style="margin-top: 10px;<%- color ? `color:${color};` : '' %>">
            <p><%= __('summary') %>：<%= item.des || __('noSummary') %></p>
                <% if (showMyComment && item.myComment) { %>
                        <%= __('comment') %>：<%= item.myComment %>
                    </div>
                <% } %>
        </div>
    </div>
</div>
